home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / bbs_lord / lnet0331.zip / NON_FIDO.ZIP / BBSEVENT.BAT < prev    next >
DOS Batch File  |  1995-11-12  |  7KB  |  160 lines

  1. ECHO OFF
  2. CLS
  3.  
  4. rem **************************************************************
  5. rem
  6. rem This batch file compliments of Bob Miller on Cypress Lake BBS!
  7. rem If you like it, give us a call sometime BBS: 318-965-0307
  8. rem
  9. rem     FREEY GIVEN WITH NO WARRANTIES EXPRESSED OR IMPLIED
  10. rem       Basically, use this information at your own risk
  11. rem                        and ENJOY!
  12. rem
  13. rem
  14. rem           >>>>>   EDIT THIS FILE AS NEEDED  <<<<<<
  15. rem
  16. rem
  17. rem  This file is for a NODE that wants to play in an established
  18. rem  LordNet game.  It can be used as an example file *BUT* it is
  19. rem  best to download a customized file DIRECTLY from your LordNet
  20. rem  Hub Coordinator and follow his/her instructions.
  21. rem
  22. rem  Although this file was written for use on a Wildcat BBS, it 
  23. rem  IS GENERIC and will work on ANY BBS with a DOS environment or
  24. rem  DOS Shell including OS2 and Windows 95.
  25. rem
  26. rem      CHANGE:  You should edit this file to correctly show
  27. rem            the path(s) you have entered in your 'Local
  28. rem            Configuration'.   An easy way to do this is with
  29. rem            the DOS Edit command.  Use the [S]earch and Change
  30. rem            function for each directory that needs to be changed.
  31. rem
  32. rem            If you don't understand batch files or the DOS 
  33. rem            command line, you are in trouble. Call and ask
  34. rem            your HUB Coordinator for help or give us a shout.
  35. rem          
  36. rem *************************************************************
  37.  
  38.  
  39. echo ******************************************************************
  40. echo     Creating OUTBOUND PACKETS to UPLOAD to you Hub Coordinator
  41. rem  
  42. rem      CHANGE:  Change the C:\LNET\TRANS directory
  43. rem            to the correct path you setup for your OUT directory
  44. rem            in your "Local Configuration" when you ran the setup
  45. rem            program LORDNET CONFIG.
  46. rem  
  47. rem            Also, change the 02 to your node number that was 
  48. rem            assigned to you by your Game Hub Coordinator.
  49. rem      
  50. rem       NOTE:  The OUT directory should be the same as your FILES      
  51. rem           and IN directory as you setup in the LORDNET CONFIG 
  52. rem           program.  All three should be set to the same directory.
  53. rem
  54. echo *****************************************************************
  55.  
  56. C:
  57. CD\LNET\TRANS
  58. DEL *.DAT
  59. DEL *.Z??
  60. CD\LNET
  61. OUTBOUND
  62. CD\LNET\TRANS
  63. PKZIP *.* LNET02OT.ZIP
  64.  
  65. echo ****************************************************************
  66. echo  Now starting communications to transfer the out going packet to
  67. echo  the hub and download the IN coming packet.  AUTOMATED or MANUAL
  68. rem
  69. rem >>> AUTOMATED FILE TRANSFER:
  70. rem     A lot of people use programs like PROCOMM, QMODEM, ROBOCOMM,
  71. rem     Etc. and create what is called a script file to "automatically"
  72. rem     upload and download the packet on a daily basis.  This can be
  73. rem     run (usually) from your BBS as a nightly event!  Let this run
  74. rem     late at night or when your BBS use is slow ( and you Hubs ) from
  75. rem     a BBS event!  I like my BBS to work for me while I sleep <VBG>
  76. rem     At this point, you need to INSERT the commands necessary
  77. rem     to run your script file for the communications program 
  78. rem     you are going to use to upload your packet to the HUB!
  79. rem     I use Robocomm.  It is a program that will allow you to
  80. rem     dial in to a WildCat or PC-Board BBS unattended!  Works
  81. rem     great!  You can dial in automated or manually.  I just 
  82. rem     like my packets to transfer at night while I sleep :)
  83. rem
  84. rem >>> MANUAL FILE TRANSFER:
  85. rem     If you do not use an "automated" communications program
  86. rem     and are running this manually EVERYDAY, then simply place 
  87. rem     the command to start your communications program next.
  88. rem     Just a note, you NEED to run this program EVERYDAY. It is
  89. rem     a very good idea to use an automated nightly communications
  90. rem     system.  I highly recommend it.  You can contact you game
  91. rem     coordinator and ask for help or call me... :)
  92. rem
  93. rem ??? WHAT WE ARE TRYING TO DO:
  94. rem     The idea is to upload the Zip file created above and then
  95. rem     download your incoming packet from your hub.  There are
  96. rem     so many ways to handle this either manually or automated.
  97. rem     I have just listed below and example of copying the needed
  98. rem     out going file to a comm. programs upload directory and 
  99. rem     showing how the downloaded file can be unzipped into the
  100. rem     incoming packet directory.
  101. rem
  102. rem     Just remember, no matter how you do it, just upload your 
  103. rem     packet and download the incoming packet. Then  Unzip the 
  104. rem     incoming packet into the IN directory as you defined in your
  105. rem     Local Configuration paths.  Again, the IN, OUT and FILES dir-
  106. rem     ectories are supposed to be the same directory as defined when
  107. rem     you ran LORDNET CONFIG program.
  108. rem
  109. rem     The next time LordNet is run, the new packets will be handled
  110. rem     automatically by the game.
  111. rem
  112. echo ****************************************************************
  113.  
  114. COPY C:\LNET\TRANS\LNET02OT.ZIP C:\QMODEM\UPLOADS\*.*
  115. CD\QMODEM
  116. QMODEM /S=SCRIPT.FIL
  117. DEL LNET02OT.ZIP
  118.  
  119. rem ******************************************************************
  120. rem        At this time you have uploaded your packet LNET02OT.ZIP and
  121. rem        downloading return packet called LNET02IN.ZIP 
  122. rem ******************************************************************
  123.  
  124. CD C:\LNET\TRANS
  125. PKUNZIP -O C:\QMODEM\DOWNLOAD\LNET02IN.ZIP 
  126. PKUNZIP -O *.Z??
  127. CD C:\LNET\DATA
  128. PKUNZIP -O C:\LNET\TRANS\*.Z?? *.DAT
  129. DEL C:\LNET\TRANS\U*.DAT
  130. DEL C:\LNET\TRANS\*.Z??
  131. DEL C:\QMODEM\DOWNLOAD\LNET02IN.ZIP
  132. CD C:\LNET
  133.  
  134. echo ******************************************************************
  135. echo        Now processing the downloaded packet into LordNet!
  136. echo ******************************************************************
  137.  
  138. INBOUND
  139.  
  140. DEL C:\QMODEM\UPLOADS\LNET02OT.ZIP
  141. DEL C:\QMODEM\DOWNLOAD\LNET02IN.ZIP
  142.  
  143. echo ******************************************************************
  144. echo        Now processing Daily Bulletins - Please wait.....
  145. rem     
  146. rem     Don't forget to edit your BULLITEN.CFG file for the correct
  147. rem     FILENAMES and their LOCATIONS....   :)
  148. rem
  149. rem     The BULLETIN.CFG file needs full and formal path names for
  150. rem     the the scores to work properly in LordNet.  Make sure each     
  151. rem     score filename listed in the BULLETIN.CFG has the drive
  152. rem     letter, directory name(s) and the filename for the score file.
  153. rem
  154. echo ******************************************************************
  155.  
  156. C:
  157. CD\LNET
  158. LORDNET BULL
  159. CD\BBS 
  160.